﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NTQOnlineExam.Services.EntityFW.Entity
{
  public class Basket
  {
    public Guid BasketId { get; set; }
    public string UserName { get; set; }
    public DateTime? CreationDate { get; set; }
    public string Comment { get; set; }
    public decimal? PaymentFee { get; set; }
    public decimal? PaymentFeeTax { get; set; }

  }

  public class BasketMap : EntityTypeConfiguration<Basket>
  {
    public BasketMap()
    {
      this.HasKey(t => t.BasketId);
      this.ToTable("Basket");
    }
  }
}



